home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Tools 2
/
Amiga Tools 2.iso
/
tools
/
jade
/
install
< prev
next >
Wrap
Text File
|
1995-03-09
|
2KB
|
48 lines
This is how to compile and install Jade on a Unix system,
1. Unpack the tar file into the directory which you want to compile Jade in,
this can be anywhere. You *don't* have to unpack it into the directory
which you want to install it in anymore.
2. Set up the configuration files. Look at the file `src/configs/config.h.std'
if this seems okay for your system execute the command `./Configure std'
this creates a symbolic link `src/config.h' to the `config.h.std' config
file.
If the `std' config is no good for you, edit the changes you need into
`src/configs/config.h.local'. Then execute the shell command
`./Configure local'.
If you're using Linux, just use the command `./Configure -a' (the `-a'
option says to use the output from `uname -s' as the config file suffix)
3. Compile the editor by executing the command `make'. This creates the
Makefile in the src directory and compiles jade.
Some make variables you may want to override are:
CFLAGS -- compiler options
LDFLAGS -- linker options
CPP -- cpp program, it gets given two arguments, the
source and destination files, by default this
has the value "/lib/cpp"
prefix -- directory tree to install jade in, default is
"/usr/local", another choice could be "/usr".
exec_prefix -- directory tree to install system-dependant files
under, by default this is $(prefix)
infodir -- directory to install jade's Info documentation in,
default is $(prefix)/info (i.e. "/usr/local/info")
bindir -- directory to install jade's binary in, by default
this is $(exec_prefix)/bin (i.e. "/usr/local/bin")
jadedir -- jade's library directory, by default this is,
$(prefix)/lib/jade/VERSION (i.e.
"/usr/local/lib/jade/3.X")
4. Install it's files into their proper locations by executing the command
`make install', if you specified non-standard values for any of the
variables listed above, you should specify the same values when installing.
Note that all directories which files are installed in are automatically
created.